/* HTML5 Doctor Reset */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video, enziklopedia {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ""; content: none; }
ins { background-color: #ff9; color: #000; text-decoration: none; }
mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
table { border-collapse: collapse; border-spacing: 0; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
input, select { vertical-align: middle; }

body { font:13px/1.231 sans-serif; *font-size:small; }
select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }

html { overflow-y: scroll; }
a:hover, a:active { outline: none; }
ul, ol { margin-left: 2em; }
ol { list-style-type: decimal; }
nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }
small { font-size: 85%; }
strong, th { font-weight: bold; }
td { vertical-align: top; }
sub, sup { font-size: 75%; line-height: 0; position: relative; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; padding: 15px; }
textarea { overflow: auto; } 
.ie6 legend, .ie7 legend { margin-left: -7px; } 
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }
button, input, select, textarea { margin: 0; }
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid { border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red; }
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }


::-moz-selection{ background: #000; color:#fff; text-shadow: none; }
::selection { background:#000; color:#fff; text-shadow: none; }
a:link { -webkit-tap-highlight-color: #FF5E99; }
button {  width: auto; overflow: visible; }
.ie7 img { -ms-interpolation-mode: bicubic; }

body, select, input, textarea { color: #444; }
h1, h2, h3, h4, h5, h6 { font-weight: bold; }


/* Theme Styles */

body { 
	background:#d6d6d6 url(../images/bg_body.png); 
	font-family: "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif; 
	color: #444;}
	
a { 
	color:#0396ed; 
	text-decoration: none; }
	
a:hover { 
	text-decoration: underline; 
	color:#990000;}

#container { 
	width: 1200px; 
	margin: 0 auto; 
	padding: 20px 0; 
	text-align: left;}

header { 
	overflow: hidden; 
	clear: both; 
	margin-bottom: 10px;}

header hgroup { float: left; }

header hgroup h1 { 
	font-size: 20px; 
	text-shadow: 1px 1px 0 #fff; }
	
header hgroup h2 { 
	font-size: 16px; 
	text-shadow: 1px 1px 0 #fff; 
	font-weight: normal; }
	
/***Social Block***/
#block_social {
	width: 175px;
	float:right;
	margin-right:20px;
	height: 30px;
	background: #fff;
	border-radius: 20px;
    box-shadow: 0 2px 12px #999;	
}

#block_social ul{
	margin: 3px 15px;}

#social li {
	display: block;
	float: left;
	margin-right: 5px;
	border: 0px !important;
	border-image: initial;
}


#social a {
	background:#000 url(../images/social-icons.png) no-repeat;
	display: block;
	float: left;
	height: 24px;
	width: 24px;
	text-indent: -9999px;
	opacity: 0.6;
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

#social a:hover {
	opacity: 1;
	background: url(../images/social-icons.png) no-repeat;
}

.email {
background-position: 0px 0px !important;
}

.email:hover {
background-position: 0px -34px !important;
}

.rss {
background-position: -24px 0px !important;
}

.rss:hover {
background-position: -24px -34px !important;
}

.facebook {
background-position: -48px 0px !important;
}

.facebook:hover {
background-position: -48px -34px !important;
}

.twitter {
background-position: -72px 0px !important;
}

.twitter:hover {
background-position: -72px -34px !important;
}

.googleplus {
background-position: -96px 0px !important;
margin-right:0px !important;
}

.googleplus:hover {
background-position: -96px -34px !important;
}	

header nav { 
	float: left; 
	margin: 20px 0 0 0; 
	width:100%;
	background: #eee; 
	box-shadow:0 3px 3px #444;
	border:1px solid #ccc;}

header nav ul { 
	margin: 0; 
	padding: 0; 
	overflow: hidden; }

header nav ul li { 
	list-style: none; 
	float: left; 
	display: inline; 
	margin: 0; padding: 0; 
	border-right: 1px solid #d5d0ca; 
	font-size: 17px; 
	text-transform: none; }
	
header nav ul li:last-child { border: 0; }

header nav ul li a { 
	display: block;  
	padding: 8px 24px; 
	color: #444; 
	text-decoration: none;
	-webkit-transition-property: background; 
	-webkit-transition-duration: .7s; 
	-webkit-transition-timing-function: linear;
	-moz-transition-property: background; 
	-moz-transition-duration: .7s; 
	-moz-transition-timing-function: linear;
	-o-transition-property: background; 
	-o-transition-duration: .7s; 
	-o-transition-timing-function: linear;}
	
header nav ul li a:hover { 
	text-decoration: none; 
	background: #444; 
	color:#fff; }

#content { 
	float: left; 
	width: 900px; 
	margin-right: 20px; 
	margin-top:40px;}

#content article { 
	background: #fff; 
	margin: 0 0 20px 0; 
	padding: 20px; 
	border-radius: 5px; 
	box-shadow:0 3px 9px rgba(0, 0, 0, 0.2); 
	min-height:200px;}

#content article h3 { 
	font-size: 18px;
	margin-bottom: 4px; 
	font-weight:normal;}
	
#content article img { 
	float: right; 
	margin: 0 0 10px 10px; }
	
#content article p { 
	font-size: 14px; 
	margin-bottom: 10px; }
	
#content article p:last-child { margin-bottom: 0; }

a.read_more{
	display: inline-block;
	width:auto;
	border-bottom:1px dotted;}
	
a.read_more:hover{
	text-decoration:none;
	border-bottom:1px dotted;}	
	
#pertsonala {
	width:40%;
	height:80%;
	padding: 2%;
	margin:auto;
	margin-top: 2%;
	margin-bottom: 2%; 
	background: #fff; 
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	border-radius: 15px;
	/*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
	-moz-box-shadow: 0px 0px 11px #000000;
	-webkit-box-shadow: 0px 0px 11px #000000;
	box-shadow: 0px 0px 11px #000000;
	/*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/
	opacity: 0.83;
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity = 83);
	/*-ms-filter must come before filter*/
	filter: alpha(opacity = 83);
	/*INNER ELEMENTS MUST NOT BREAK THIS ELEMENTS BOUNDARIES*/
	/*All filters must be placed together*/
	overflow: hidden;
}

#pertsonala p{
	font-size: 20px;
}

/*styling both submit buttons */
#boton_aldatu_pertsonala {
	width: 60%;
	cursor: pointer;	
	background: #D2DBDA; 
	padding: 5px 5px;
	font-family: 'BebasNeueRegular','Arial Narrow',Arial,sans-serif;
	color: #fff;
	font-size: 24px;	
	border: 1px solid rgb(28, 108, 122);	
	margin-bottom: 10px;	
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
	-webkit-border-radius: 3px;
	   -moz-border-radius: 3px;
	        border-radius: 3px;	
	-webkit-box-shadow: 0px 1px 6px 4px rgba(0, 0, 0, 0.07) inset,
	        0px 0px 0px 3px rgb(254, 254, 254),
	        0px 5px 3px 3px rgb(210, 210, 210);
	   -moz-box-shadow:0px 1px 6px 4px rgba(0, 0, 0, 0.07) inset,
	        0px 0px 0px 3px rgb(254, 254, 254),
	        0px 5px 3px 3px rgb(210, 210, 210);
	        box-shadow:0px 1px 6px 4px rgba(0, 0, 0, 0.07) inset,
	        0px 0px 0px 3px rgb(254, 254, 254),
	        0px 5px 3px 3px rgb(210, 210, 210);
	-webkit-transition: all 0.2s linear;
	   -moz-transition: all 0.2s linear;
	     -o-transition: all 0.2s linear;
	        transition: all 0.2s linear;
}
#boton_aldatu_pertsonala input:hover{
	background: rgb(74, 179, 198);
}
#boton_aldatu_pertsonala input:active,
#boton_aldatu_pertsonala input:focus{
	background: rgb(40, 137, 154);
	position: relative;
	top: 1px;
	border: 1px solid rgb(12, 76, 87);	
	-webkit-box-shadow: 0px 1px 6px 4px rgba(0, 0, 0, 0.2) inset;
	   -moz-box-shadow: 0px 1px 6px 4px rgba(0, 0, 0, 0.2) inset;
	        box-shadow: 0px 1px 6px 4px rgba(0, 0, 0, 0.2) inset;
}
#boton_aldatu_pertsonala,
#boton_aldatu_pertsonala{
	text-align: right;
	margin: 5px 0;
}
	
#enziklopedia {
	width:80%;
	height:100%;
	padding: 2%;
	margin:auto;
	margin-top: 2%;
	margin-bottom: 2%; 
	background: #fff; 
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	border-radius: 15px;
	/*IE 7 AND 8 DO NOT SUPPORT BORDER RADIUS*/
	-moz-box-shadow: 0px 0px 11px #000000;
	-webkit-box-shadow: 0px 0px 11px #000000;
	box-shadow: 0px 0px 11px #000000;
	/*IE 7 AND 8 DO NOT SUPPORT BLUR PROPERTY OF SHADOWS*/
	opacity: 0.83;
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity = 83);
	/*-ms-filter must come before filter*/
	filter: alpha(opacity = 83);
	/*INNER ELEMENTS MUST NOT BREAK THIS ELEMENTS BOUNDARIES*/
	/*All filters must be placed together*/
	overflow: hidden;
	
	
}

#enziklopedia section {
	width: 280px;
	background: transparent;
	margin: 4px;
	padding: 15px;
	float:left;
	margin-bottom: 10px;
	background: #D2DBDA; 
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	border-radius: 15px;
	
	opacity: 0.83;
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity = 83);
	/*-ms-filter must come before filter*/
	filter: alpha(opacity = 83);
}



#sidebar { 
	float: left; 
	width: 280px; 
	margin-top:40px;}

#sidebar aside {
	margin-bottom: 10px; 
	padding: 20px;
	background: #fff;   
	box-shadow:0 6px 9px rgba(0, 0, 0, 0.2);}
	
#sidebar aside h4 { 
	color: #333; 
	font-size: 16px; 
	margin-bottom: 10px; 
	padding-bottom:5px;
	border-bottom:1px dotted #999;}
	
#sidebar aside p { font-size: 13px; margin-bottom: 8px; }
#sidebar aside p:last-child { margin: 0; }
#sidebar aside ul { margin: 0; padding: 0; }
#sidebar aside ul li { list-style: none; margin-bottom: 6px; }

.clear{clear:both; height:10px;}

footer { 
	background:#eee;
	border:1px solid #ccc;
	clear: both;
	margin-top:10px;  
	padding: 10px 20px; 
	font-size: 14px; }

footer nav ul {
	margin: 0 auto; 
	padding: 0; }
	
footer nav ul li { 
	list-style: none; 
	display: inline; 
	margin-right: 12px; 
	text-shadow: 0 1px 0 #fff;}
				
				
footer nav ul li a{ 
	color: #666666; 
	text-shadow: 0 1px 0 #fff;}
	
footer p{ 
	margin-top:10px;
	color: #444; 
	text-shadow: 0 1px 0 #fff;}					

/* View < 1200px */			
				
@media (max-width: 1200px) {

#container { width: 970px; }
#content { width: 700px; }
#sidebar { width: 250px; }

header hgroup h1 { font-size: 20px; }
header hgroup h2 { font-size: 16px; }

header nav { margin-top: 18px; }
header nav ul li { font-size: 16px; }

#content article { margin-bottom: 12px;}
#content article h3 { font-size: 18px; }
#content article p { font-size: 14px; }

#sidebar aside { margin-bottom: 10px; }

}


/* iPad in landscape */

/* Note: Design for max-width: 1024px) {  } */
	
@media (max-device-width: 1024px) and (orientation: landscape) {

#container { width: 768px; }
#content { width: 540px; }
#sidebar { width: 208px; }

header { margin-bottom: 10px; }

header hgroup { margin-bottom: 12px; }

header nav { float: none; clear: both; }
header nav ul { width: 100%; }
header nav ul li { font-size: 14px; width: 191px; text-align: center; }
header nav ul li:last-child { width: 192px; }

#content article img { float: none; margin: 0 0 10px 0; width: 100%; }

}


/* iPad in portrait */

/* Note: Design for a width of 768px */ 

@media (max-device-width: 1024px) and (orientation: portrait) {

#container { width: 600px; }
#content { float: left; width: 600px; margin: 0 0 12px 0; }
#sidebar { float: left; width: 600px; margin-top:0px; }

header { margin-bottom: 10px; }

header hgroup { margin-bottom: 12px; }

header nav { float: none; clear: both; }
header nav ul { width: 100%; }
header nav ul li { font-size: 14px; width: 149px; text-align: center; }
header nav ul li:last-child { width: 150px; }

#content article { padding: 20px; }
#content article img { float: none; margin: 0 0 10px 0; width: 100%; }

#sidebar aside { color: #fff; float: left; width: 250px; min-height: 170px; margin-right: 20px; padding: 20px; }
#sidebar aside:last-child { margin: 0; }

}

/* #Tablet (Portrait) */

/* Note: Design for a width of 740px */
@media only screen and (min-width: 768px) and (max-width: 959px) {
#container { width: 740px; }
#content { float: left; width: 740px; margin: 30px 0 12px 0; }
#sidebar { float: left; width: inherit; margin-top:0px; }

header { margin-bottom: 10px; }

header hgroup { margin-bottom: 12px; }

header nav { float: none; clear: both; }
header nav ul { width: 100%; }
header nav ul li { font-size: 14px; width: 149px; text-align: center; }
header nav ul li:last-child { width: 150px; }

#content article { padding: 20px; }
#content article img { float: right; margin: 0 0 10px 0;}

#sidebar aside { color: #fff; min-height: 170px; padding: 20px; }
#sidebar aside:last-child { margin: 0; }
	}


/* #Mobile (Landscape) */

/* Note: Design for a width of 420px */
@media only screen and (min-width: 601px) and (max-width: 767px) {
#container { width: 600px; }
#content { float: left; width: 600px; margin: 30px 0 12px 0; }
#sidebar { float: left; width: inherit; margin-top:0px; }

header { margin-bottom: 10px; }

header hgroup { margin-bottom: 12px; }

header nav { float: none; clear: both; }
header nav ul { width: 100%; }
header nav ul li { font-size: 14px; width: 149px; text-align: center; }
header nav ul li:last-child { width: 150px; }

#content article { padding: 20px; }
#content article img { float: right; margin: 0 0 10px 0;}

#sidebar aside { color: #fff; min-height: 170px; padding: 20px; }
#sidebar aside:last-child { margin: 0; }

	}


/* Mobile width < 600px*/

@media (max-width: 600px) {
	
.flexslider{display:none;}	

#container, #content { float: none; width: inherit; }
#content { margin: 0px; }

#sidebar{ float:left; margin-top:0px; width: inherit;}

header { margin: 0 0 10px 0; text-align: center; }
header hgroup { width: 100%; margin-bottom: 12px; }
header hgroup h1 { font-size: 20px; }
header hgroup h2 { font-size: 16px; }

#block_social{
	float:none;
	display:inline-block;}

header nav { float: none; clear: both; }
header nav ul { width: 100%; }
header nav ul li { float: none; display: block; width: 100%; font-size: 14px; text-align: left; border-bottom: 1px solid #ccc; }
header nav ul li:last-child { width: 100%; border-bottom: 0; }
header nav ul li a { padding: 10px; }

#content article { padding: 10px; -webkit-border-radius: 0; }
#content article h3 { font-size: 16px; }
#content article p { font-size: 12px; }
#content article img { float:none;}

#sidebar aside { color: #fff; float: left; width:100%; min-height: 170px; margin-right: 20px; padding: 20px; }
#sidebar aside:last-child { margin: 0; }

footer { padding: 10px; font-size: 12px; }

}



/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}

.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none; overflow:hidden;} 

/* FlexSlider Necessary Styles
*********************************/ 
.flexslider {margin: 0 0 10px; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {width: 100%; height:auto;}
.flex-pauseplay span {text-transform: capitalize;}

/* Caption style */
/* IE rgba() hack */
.flex-caption {background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;}
.flex-caption {
	width: inherit;
	padding: 5px;
	position: absolute;
	left: 0;
	bottom: 2px;  
	background: rgba(0,0,0,.6); 
	color: #fff; 
	text-shadow: 0 -1px 0 rgba(0,0,0,.5); 
	font-size: 13px; 
	text-align:left;}

.flex-caption a{
	color:#fff; 
	cursor: pointer;
	border-bottom: 1px solid #DDD;
	padding: 1px;
	font: 13px;}	

.flex-caption a:hover{
	color: #fff;
	border-bottom: 2px solid #ed3508;
	text-decoration:none;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;} 
html[xmlns] .slides {display: block;} 
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider {margin: 0px auto; position: relative; zoom: 1; width:100%;}
.flex-viewport {max-height: 2000px; -webkit-transition: all 1s ease; -moz-transition: all 1s ease; transition: all 1s ease;}
.loading .flex-viewport {max-height: 300px;}
.flexslider .slides {zoom: 1;}

.carousel li {margin-right: 5px}


/* Direction Nav */
.flex-direction-nav {*height: 0;}
.flex-direction-nav a {width: 30px; height: 30px; margin: -20px 0 0; display: block; background: url(../images/bg_direction_nav.png) no-repeat 0 0; position: absolute; top: 50%; z-index: 10; cursor: pointer; text-indent: -9999px; opacity: 0; -webkit-transition: all .3s ease;}
.flex-direction-nav .flex-next {background-position: 100% 0; right: -36px; }
.flex-direction-nav .flex-prev {left: -36px;}
.flexslider:hover .flex-next {opacity: 0.8; right: 5px;}
.flexslider:hover .flex-prev {opacity: 0.8; left: 5px;}
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {opacity: 1;}
.flex-direction-nav .flex-disabled {opacity: .3!important; filter:alpha(opacity=30); cursor: default;}

/* Control Nav */
.flex-control-nav {width: 100%; position: absolute; text-align: left; margin-top:7px;}
.flex-control-nav li {margin: 0 6px; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 13px; height: 13px; display: block; background: url(../images/gallery-buttons.png) 0 0; cursor: pointer; text-indent: -9999px;}
.flex-control-paging li a:hover { background: url(../images/gallery-buttons.png) -13px 0; cursor: pointer;}
.flex-control-paging li a.flex-active { background: url(../images/gallery-buttons.png) -26px 0; cursor: pointer; }

@media screen and (max-width: 860px) {
  .flex-direction-nav .flex-prev {opacity: 1; left: 0;}
  .flex-direction-nav .flex-next {opacity: 1; right: 0;}
}